package f_StringBuilder;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package f_StringBuilder
 * @date 2024/4/6 12:37
 */
public class test01 {
    public static void main(String[] args) {

        StringBuilder sb = new StringBuilder();
        StringBuilder sb2 = sb.append("张无忌");
        System.out.println(sb2);
        System.out.println(sb2 == sb);
        System.out.println("=============");
        //链式调用
        sb.append("赵敏").append("肘子肉").append("小龙女");
        System.out.println(sb);
        System.out.println(sb.reverse());
        System.out.println(sb.toString());


    }
}
